WP_STATISTICS\Helper D

Total Complexity 278
Dependencies 16
Dependents 65
Total lines 1,808
Lines of code 941
Logical lines of code 543
Comment lines 562
Methods 83
Properties 0

Methods 83

Method Rating Maintainability Complexity Lines of code
mysql_time_conditions()
C
33 24 94
is_active_cache_plugin()
A
50 10 28
send_mail()
A
42 8 48
is_request()
A
59 10 14
get_html_page()
A
50 9 26
getConditionSQL()
A
52 9 24
is_login_page()
A
53 9 20
FilterQueryStringUrl()
S
49 7 29
calculatePercentageChange()
S
56 7 20
get_list_taxonomy()
S
55 6 18
get_site_title_by_url()
S
55 6 18
getDefaultDateFormat()
S
56 5 17
dntEnabled()
S
68 6 6
formatNumberWithUnit()
S
59 5 13
get_date_install_plugin()
S
54 4 21
getAveragePost()
S
55 4 19
getAverageRegisterUser()
S
55 4 19
getAverageComment()
S
55 4 19
getReportEmailTip()
S
43 1 61
calculateDateDifference()
S
57 4 15
shouldTrackAnonymously()
S
66 5 7
json_to_array()
S
66 5 7
convertBytes()
S
60 4 13
compare_uri_hits_int()
S
71 4 5
checkMemoryLimit()
S
63 4 10
getHitsDefaultParams()
S
58 3 15
is_gutenberg()
S
73 4 4
isAdminBarShowing()
S
73 4 4
is_rest_request()
S
63 4 10
doing_it_wrong()
S
61 3 12
getPostTypesByTaxonomy()
S
63 3 11
get_post_list()
S
57 2 16
getRequestUri()
S
69 3 6
getPostTypeName()
S
68 3 7
getTaxonomyName()
S
68 3 7
send_sms()
S
67 3 7
get_query_params_allow_list()
S
64 3 9
get_default_query_params_allow_list()
S
70 3 5
standard_json_encode()
S
64 3 9
show_site_icon()
S
64 3 8
get_robots_list()
S
66 3 8
GenerateRgbaColor()
S
61 2 11
set_all_option_datepicker()
S
74 2 4
getDeviceCategoryName()
S
69 2 6
yieldARow()
S
67 2 8
divideNumbers()
S
70 2 6
get_list_post_type()
S
64 2 9
isAddOnActive()
S
67 2 7
get_updated_list_post_type()
S
71 2 5
dirToUrl()
S
64 2 10
urlToDir()
S
64 2 10
prepareArrayToStringForQuery()
S
68 2 7
getCountPages()
S
67 2 8
getCountPosts()
S
67 2 8
random_string()
S
65 2 8
get_screen_id()
S
72 2 5
isCustomPostType()
S
74 2 4
isCustomTaxonomy()
S
69 2 7
isBypassAdBlockersRequest()
S
77 2 3
get_wp_sites_list()
S
67 2 8
SortByKeyValue()
S
68 2 7
strip_array_indices()
S
69 2 7
isAssoc()
S
69 2 6
filterArrayByKeys()
S
78 1 3
get_file_path()
S
78 1 3
getTimezoneCountry()
S
73 1 5
get_uploads_dir()
S
74 1 4
makeAnonymousVersion()
S
68 1 6
getDefaultPostTypes()
S
71 1 5
getCustomPostTypes()
S
77 1 3
getPostTypes()
S
79 1 3
check_url_scheme()
S
74 1 4
getUrlDecode()
S
78 1 3
get_wordpress_version()
S
80 1 3
get_domain_name()
S
69 1 6
getLastPostDate()
S
69 1 6
getCountUsers()
S
75 1 4
getCountSpam()
S
79 1 3
getCountComment()
S
72 1 5
compare_uri_hits()
S
79 1 3
IsPostPublished()
S
79 1 3
RemoveQueryStringUrl()
S
78 1 3
isRequestSignatureEnabled()
S
79 1 3